package com.phiture.erp.stock.web.controller.api;

import cn.iocoder.yudao.framework.common.core.KeyValue;
import com.phiture.erp.stock.api.service.ErpWarehouseApi;
import com.phiture.erp.stock.core.service.ErpWarehouseService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author YH
 * @date 2025/4/16
 */

@Service
@RequiredArgsConstructor
public class ErpWarehouseApiServiceImpl implements ErpWarehouseApi {
    private final ErpWarehouseService warehouseService;

    @Override
    public Map<Long, KeyValue<String, Boolean>> getWarehouseMap() {
        return warehouseService.getWarehouseMap();
    }
}
